let requestTask = function(url, param, success, fail) {
	uni.request({
		url: `/nuaa-scs/nuaa-scs-hanjs${url}`, //仅为示例，并非真实接口地址。\
		method: "POST",
		data: param,
		header: {
			'content-type': 'application/json',
			'token': uni.getStorageSync("token")
		},
		success: res => {
			success && success(res.data)
		},
		fail: err => {
			fail && fail(res)
		}
	})
}
export default {
	requestTask
}
